head	1.6;
access;
symbols;
locks; strict;
comment	@# @;


1.6
date	2000.04.19.16.40.19;	author weston;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.19.16.40.19;	author weston;	state Exp;
branches;
next	1.4;

1.4
date	2000.04.19.16.40.19;	author weston;	state Exp;
branches;
next	1.3;

1.3
date	2000.04.19.16.40.19;	author weston;	state Exp;
branches;
next	1.2;

1.2
date	2000.04.19.16.40.19;	author weston;	state Exp;
branches;
next	1.1;

1.1
date	2000.04.19.16.40.19;	author weston;	state Exp;
branches;
next	;


desc
@@


1.6
log
@D 1.6 94/07/25 16:48:23 weston 6 5
Fixed comments
@
text
@SHELL = /bin/sh
#LINDA_DIR = /usr/licensed/sca/sun4-4.1/bin/
#PIRANHA_DIR = /usr/licensed/sca/sun4-4.1/lib/
# This is currently only needed for the RS6000 and DEC alpha.
#LINKLIBS = -lrpcsvc

CLC = LINDA_CLC=network $(LINDA_DIR)clc
CLFLAGS = -g
PIROBJS = $(PIRANHA_DIR)piranha.lo $(PIRANHA_DIR)piranha_sys.o

TARGETS = piranha_test factor cmatrix piranha.config

all: $(TARGETS)

piranha_test: piranha_test.cl $(PIROBJS)
	$(CLC) $(CLFLAGS) -o $@@ piranha_test.cl $(PIROBJS) $(LINKLIBS)

factor: factor.cl $(PIROBJS)
	$(CLC) $(CLFLAGS) -o $@@ factor.cl $(PIROBJS) $(LINKLIBS) -lm

cmatrix: cmatrix.cl $(PIROBJS)
	$(CLC) $(CLFLAGS) -o $@@ cmatrix.cl $(PIROBJS) $(LINKLIBS) -lm

clean:
	-@@/bin/rm -f $(TARGETS) *.o *.lo *.fo *.d0 *.s *.i* __lt* *~ core
@


1.5
log
@D 1.5 94/07/19 12:44:44 weston 5 4
Added piranha.config to be built
@
text
@d5 1
a5 1
#LINKLIBS = -lX11 -lrpcsvc
@


1.4
log
@D 1.4 94/07/19 11:43:08 weston 4 3
Changed PATH to DIR to avoid strange conflicts...
@
text
@d11 1
a11 1
TARGETS = piranha_test factor cmatrix
@


1.3
log
@D 1.3 94/07/19 11:30:01 weston 3 2
Clean up
@
text
@d2 2
a3 2
#LINDA_PATH = /usr/licensed/sca/sun4-4.1/bin/
#PIRANHA_PATH = /usr/licensed/sca/sun4-4.1/lib/
d7 1
a7 1
CLC = LINDA_CLC=network $(LINDA_PATH)clc
d9 1
a9 1
PIROBJS = $(PIRANHA_PATH)piranha.lo $(PIRANHA_PATH)piranha_sys.o
@


1.2
log
@D 1.2 94/07/13 17:58:22 weston 2 1
Clean up...
@
text
@d2 2
a3 7
CLC = clc
CLFLAGS =

# This should be modified to point to the appropriate lib directory,
# but it can be set via an environment variable.
#PIRANHA_PATH = /usr/licensed/sca/sun4-4.1/lib

d7 3
a9 1
PIROBJS = $(PIRANHA_PATH)/piranha.lo $(PIRANHA_PATH)/piranha_sys.o
d25 1
a25 1
	/bin/rm -f $(TARGETS) *.o *.lo *.fo *.d0 *.s *.i* __lt* *~ core
@


1.1
log
@Initial revision
@
text
@d1 3
a3 16
#
#                 - COPYRIGHT 1990, 1991, 1992, 1993 -
#         Scientific Computing Associates (SCA), New Haven, CT
#                         - COPYRIGHT 1989 -
#                          Yale University
#                        ALL RIGHTS RESERVED
#

CLC=../../bin/clc
CLFLAGS=

piranha_test: piranha_test.cl piranha.lo 
	$(CLC) -o $@@ $(CLFLAGS) piranha_test.cl piranha.lo -lrpcsvc

factor: factor.lo piranha.lo
	$(CLC) $(CLFLAGS) -o $@@ factor.lo piranha.lo -lrpcsvc
d5 3
a7 2
factor.lo: factor.cl
	$(CLC) $(CFLAGS) -c factor.cl
d9 2
a10 2
piranha.lo: piranha.cl
	$(CLC) $(CFLAGS) -c piranha.cl
d12 1
a12 2
clean: 
	-@@/bin/rm -f factor piranha_test *.lo *.o *.s *.i* *.d0 #* *~
d14 15
@
